import { ModelZipHandler } from './modelProcessStrategy';
export class SimulationModelHandler {
  constructor(private strategy?: ModelZipHandler) { }

  setHandler(handler: ModelZipHandler) {
    this.strategy = handler;
  }

  async unzipFromTo(modelZipFilePath: string, localModelDir: string) {
    return await this.strategy.unzipToModelDir(modelZipFilePath, localModelDir);
  }
}